'use strict';

module.exports = app => {
    const { io } = app;
    // socket.io
    io.of('/api').route('login', io.controller.IoContrillerLogin);
    io.of('/api').route('test', io.controller.IoContrillerLogin);
    io.of('/').route('test', io.controller.IoContrillerLogin);
    io.of('/').route('login', io.controller.IoContrillerLogin);
};
